[Top] [Prev] [Next] [Bottom] [Contents]

DoWorkProc

DoWorkProc executes a Stored Procedure. This function is used in generating Sapphire/Web code and probably will not be used by application programmers. It is documented here so that you can understand Sapphire/Web-generated code.

Synopsis

#include "WorkingDialog.h"
#include "SaPopCalls.h"
void DoWorkProc(pSgeWorkCallData p, int OrbReqType);

Arguments

p
An allocated pSgeWorkCallData data structure.
OrbReqType
Specifies the type of orb request.

Return Values

None

Description

DoWorkProc executes a Stored Procedure. If p is NULL, no action is taken. If the Stored Procedure mode is asynchronous, DoWorkProc returns after posting the request, but before results are returned. If the mode is synchronous, DoWorkProc returns after all results are processed. The OrbReqType must be set to one of the following defined constants:

PROCESSBRSREQUEST_DSQL (for Sybase)
PROCESSBRSREQUEST_OSQL (for Oracle)
PROCESSBRSREQUEST_ISQL (for Informix)
for all client requests.

Example

pSgeWorkCallData pSgeWCD;
.....
DoWorkProc(pSgeWCD, PROCESSBRSREQUEST_DSQL);

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.